package com.goodsAdv.model;

import java.sql.Connection;
import java.util.List;


public interface IGoodsAdvDAO {
    public int insert(GoodsAdvVO goodsAdvVO,Connection conn);
    public List<Integer> insertAllAdv(List<GoodsAdvVO> list_advVO,Connection con);
	public List<GoodsAdvVO> update(List<GoodsAdvVO> list_advVO);
    public int delete(Integer goodsAdvOrder);
    public GoodsAdvVO findByPrimaryKey(Integer goodsAdvOrder);
    public List<GoodsAdvVO> getAdvVOByClassNo(Integer goodsClassNo);
    public List<GoodsAdvVO> getAll();
    
    public List<Integer> getImgAdvOrder(Integer goodsClassNo);
    public List<GoodsAdvVO> getPathWithEndNo(Integer goodsClassNo);
    public String getImgAdvPath_name(String colName,Integer goodsAdvOrder);

}
